CyberStore Cart Web Service
MethodRestoreAddToCart
CyberStore Cart Web Service > All Operations Resource Group : RestoreAddToCart (Method)
Description
Restores Items and Quantities of a Saved Cart into the current Shopping Cart.
Request (RestoreAddToCartSoapIn)

The request body is of type RestoreAddToCart.

Request Body Parameters

NameDescriptionData Type
The SavedCart_ID of the Saved Cart to restore.xml:int
Example
The following example shows how to perform the web operation in CyberStore.
// Example: Restore the saved Cart
//      the saved cart with SavedCart_ID = 37
// then send the response to the browser console

MakeAJAXCall("Cart.RestoreAddToCart", { 
    SavedCart_ID:37
}, console.log);
200 Response (RestoreAddToCartSoapOut)

The response body is of type RestoreAddToCartResponse.

Response Body Parameters

NameDescriptionData Type

A String value containing a JSON object with Success, and Message types.

 

{
    "Success": true,
    "Message": "The items have been added to your Shopping Cart"
}

 

xml:string
See Also
All Operations Resource GroupCyberStore Cart Web Service